package com.dz.lm.service.comp.compproduct;

import com.dz.lm.common.dto.CompProudctDTO;
import com.dz.lm.common.dto.PageDto;
import com.dz.lm.common.exception.ServiceException;
import com.dz.lm.domain.compproduct.CompProduct;

public interface CompProductService {
    int add(CompProduct product) throws ServiceException;

    int update(CompProduct product) throws ServiceException;

    int delete(int productId) throws ServiceException;

    PageDto query(int pageNum,int rows,int compId) throws ServiceException;

    CompProudctDTO get(int productId) throws ServiceException;
}
